package flowmodel

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ FlowStatusModel = (*customFlowStatusModel)(nil)

type (
	// FlowStatusModel is an interface to be customized, add more methods here,
	// and implement the added methods in customFlowStatusModel.
	FlowStatusModel interface {
		flowStatusModel
	}

	customFlowStatusModel struct {
		*defaultFlowStatusModel
	}
)

// NewFlowStatusModel returns a model for the database table.
func NewFlowStatusModel(conn sqlx.SqlConn) FlowStatusModel {
	return &customFlowStatusModel{
		defaultFlowStatusModel: newFlowStatusModel(conn),
	}
}
